package com.ruoyi.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import com.baomidou.mybatisplus.annotation.*;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 项目POC测试对象 sys_poc_testing
 * 
 * @author zhaonz
 * @date 2023-06-02
 */
@TableName("sys_poc_testing")
public class PocTesting extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 测试ID */
    @TableId(type = IdType.ASSIGN_ID)
    @JsonSerialize(using = ToStringSerializer.class)
    private Long testingId;

    /** 项目ID */
    @Excel(name = "项目ID")
    private Long projectId;

    /** 调研时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "调研时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date researchTime;

    /** 供应商 */
    @Excel(name = "供应商")
    private String supplier;

    /** 产品 */
    @Excel(name = "产品")
    private String product;

    /** 市场 */
    @Excel(name = "市场")
    private String market;

    /** 测试描述 */
    @Excel(name = "测试描述")
    private String testDescription;

    public Long getTestingId() {
        return testingId;
    }

    public PocTesting setTestingId(Long testingId) {
        this.testingId = testingId;
        return this;
    }

    public Long getProjectId() {
        return projectId;
    }

    public PocTesting setProjectId(Long projectId) {
        this.projectId = projectId;
        return this;
    }

    public Date getResearchTime() {
        return researchTime;
    }

    public PocTesting setResearchTime(Date researchTime) {
        this.researchTime = researchTime;
        return this;
    }

    public String getSupplier() {
        return supplier;
    }

    public PocTesting setSupplier(String supplier) {
        this.supplier = supplier;
        return this;
    }

    public String getProduct() {
        return product;
    }

    public PocTesting setProduct(String product) {
        this.product = product;
        return this;
    }

    public String getMarket() {
        return market;
    }

    public PocTesting setMarket(String market) {
        this.market = market;
        return this;
    }

    public String getTestDescription() {
        return testDescription;
    }

    public PocTesting setTestDescription(String testDescription) {
        this.testDescription = testDescription;
        return this;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("testingId", getTestingId())
            .append("projectId", getProjectId())
            .append("researchTime", getResearchTime())
            .append("supplier", getSupplier())
            .append("product", getProduct())
            .append("market", getMarket())
            .append("testDescription", getTestDescription())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
